package com.summer.entity.gongxinbao;

import java.util.Date;

public class RelBaseInfo {
    private Long id;

    private String idNum;

    private Date createdAt;

    private String userPhone;

    private String name;

    private String messageType;

    public RelBaseInfo() {
    }

    public RelBaseInfo(String userPhone, String idNum, String name, String messageType,
                       Date createdAt) {
        this.userPhone = userPhone;
        this.name = name;
        this.idNum = idNum;
        this.messageType = messageType;
        this.createdAt = createdAt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIdNum() {
        return idNum;
    }

    public void setIdNum(String idNum) {
        this.idNum = idNum == null ? null : idNum.trim();
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }


    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType == null ? null : messageType.trim();
    }
}